//
//  LY_HandlerTool.h
//  recordTest
//
//  Created by Jason on 2017/6/1.
//  Copyright © 2017年 LiuYu. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger, LY_ORDER_TYPE) {
    LY_ORDER_TYPE_BACK = 0 ,//返回
    LY_ORDER_TYPE_NULL = 1,//无效指令
    LY_ORDER_TYPE_OnLight = 2,//打开灯光
    LY_ORDER_TYPE_DownLight = 3,//关闭照明
    LY_ORDER_TYPE_TAKEPHOTO = 4,//拍照
    LY_ORDER_TYPE_STARTCAMERA = 5,//启动相机
};

@interface LY_HandlerTool : NSObject
@property (nonatomic, assign, readwrite)NSInteger orderHandle;
- (LY_ORDER_TYPE)Recognize:(NSString *)orderStr;

@end
